<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>源辰-浏览订单信息</title>
<link rel="shortcut icon" href="../../bk/images/copylogo.png" type="image/x-icon" />
<link rel="stylesheet" href="../../bk/css/common.css">
<link rel="stylesheet" href="../../bk/css/main.css">
<script type="text/javascript" src="../../bk/js/jquery.min.js"></script>
<script type="text/javascript">
var pageNo = 1;
var pageSize = 10;
var totalSize = 0;
var totalPage = 0;


$(function(){
	findByAll();
});


function findByAll() {

	
	var str='';
	

	 $.post("../../orderInfo/getallOrder",null,function(data){
		for(var i=0;i<data.length;i++){
			str += '<tr><td>'+data[i].gname+'</td> <td>'+data[i].unit+'</td>  <td>'+data[i].price+'</td> <td>'+data[i].nums+'</td> <td>'+data[i].ano+'</td>  <td>已支付</td> </tr>';
		}
		$("#news_info").html("").append($(str));
	},"json"); 
	
	/* $.get("../../goodsInfo/findgoods", null, function(data){
		
		console.log("1111");
		var str = "";
		$.each(data, function(index, item) {
			str += "<tr><td>"+item.gno+"</td><td>"+item.gname+"</td><td>"+item.price+"</td><td>"+item.intro+"</td> <td>"+item.balance+"</td><td><img src=" "../../"+item.pics+"/></td><td>"+item.descr+"</td><td><a href=''>[修改]</a>&nbsp;&nbsp;<a href='javascript:delAdmin("+item.mno+")'>[删除]</a></td></tr>";
		});                                                                    
		$("#news_info").html("").append($(str));
	},"json");  */
}


</script>
</head>
<body>
<div id="table" class="mt10">
	<div class="box span10 oh">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="list_table">
			<thead>
				<tr>
				<!-- 	<th width="80">商品编号</th>
                   	<th width="80">商品名</th>
                   	<th width="80">商品单价</th>
                   	<th width="80">商品简介</th>  
                   	<th width="80">库存</th>  
                   	<th width="100">图片</th>  
                   	<th width="100">操作</th> -->
                   	<th class="80">商品名称</th>
					<th class="80">商品单位</th>
					<th class="80">商品价格</th>
					<th class="80">数量</th>
					<th class="80">收货地址</th>
					<th class="80">状态</th>	
                </tr>
             </thead>
             <tbody id="news_info" align="center">
			      
             </tbody>
		</table>
        <div class="page mt10">
		<div class="pagination">
            <ul id ="pagination_info">
				<li class="first-child active"><a href="javascript:void()" onclick=" ">首页</a></li>
				<li class="active"><a href="javascript:void()" onclick=" ">1</a></li>
				<li><a href="javascript:void()" onclick=" ">2</a></li>
				<li class="last-child"><a href="javascript:void()" onclick=" ">末页</a></li>'
			</ul>
		</div>
        </div>
	</div>
</div>
</body>
</html>